package controller;

import javax.servlet.ServletContextEvent;
import java.util.ArrayList;

public class ServletContextListener implements javax.servlet.ServletContextListener {
    public ServletContextListener() {

    }
    public void contextInitialized(ServletContextEvent arg0) {
       arg0.getServletContext().setAttribute("users", new ArrayList<model.User>());
    }
    public void contextDestroyed(ServletContextEvent arg0) {

    }
	
}